{% extends 'base.html' %}

{% block title %} 登录{% endblock %}

{% block main %}

      <h2>登录</h2>
      <form action="" method="post">
       {% csrf_token %}
          <div class="mb-3">
              <label class="mb-1">邮箱</label>
              <input type="email" name="email" class="form-control" placeholder="邮箱">
          </div>
          <div class="mb-3 ">
              <label class="mb-1">密码</label>
              <input type="password" name="password" class="form-control" placeholder="密码">
          </div>
          <div class="form-check">
              <input class="form-check-input" type="checkbox" name="remember" value="1" id="flexCheckDefault">
              <label class="form-check-label mb-2" for="flexCheckDefault">
                 记住我
              </label>
          </div>
          <div class="mb-3 ">
              <button class="btn btn-primary w-100">立即登录</button>
          </div>
      </form>
{% endblock %}